import request from '@/utils/request'

// 查询基金分配扣除费用列表
export function listFundFpExpense(query) {
  return request({
    url: '/fpExpense/fundFpExpense/list',
    method: 'get',
    params: query
  })
}

// 查询基金分配扣除费用详细
export function getFundFpExpense(id) {
  return request({
    url: '/fpExpense/fundFpExpense/' + id,
    method: 'get'
  })
}

// 保存基金分配扣除费用
export function saveFundFpExpense(data) {
  return request({
    url: '/fpExpense/fundFpExpense/save',
    method: 'post',
    data: data
  })
}

// 删除基金分配扣除费用
export function delFundFpExpense(id) {
  return request({
    url: '/fpExpense/fundFpExpense/' + id,
    method: 'delete'
  })
}

// 导出基金分配扣除费用
export function exportFundFpExpense(query) {
  return request({
    url: '/fpExpense/fundFpExpense/export',
    method: 'get',
    params: query
  })
}
